.el-page-header {
  margin-bottom: 10px;
}

.text-study {
  margin: 0 auto;
  padding: 0 0 0 20px;

  .study-controls {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 25px;
    margin: 0px 20px 10px 20px;
    flex-wrap: wrap;

    @media (max-width: 768px) {
      flex-direction: column;
      gap: 20px;
      position: fixed;
      bottom: 0;
      z-index: 999;
      background-color: white;
      border-radius: 10px;
      margin: 0px;
      padding: 0;
      padding-top: 10px;
      border-top: 1px solid #ebebeb;
    }
  }

  :deep(.el-switch__core) {
    border-radius: 4px;
  }

  .study-options {
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    padding: 5px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    gap: 20px;
    min-width: 300px;
    justify-content: space-around;

    .option-item {
      display: inline-block;
      margin: auto 4px;

      :deep(.el-switch) {
        .el-switch__core {
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
      }
    }

    .sentence-repeat-count {
      display: flex;
      align-items: center;
      gap: 8px;

      span {
        color: #212529;
        font-weight: 500;
      }

      :deep(.el-input-number) {
        .el-input-number__wrapper {
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          transition: box-shadow 0.3s ease;

          &:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
          }
        }
      }
    }
  }

  .marked-words-section {
    margin-top: 40px;
    padding: 25px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    h3 {
      margin-top: 0;
      color: #212529;
      font-size: 1.4rem;
      font-weight: 600;
    }
  }

  .original-word {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 0 10px;

    .study-options {
      padding: 15px;
      min-width: auto;

      .skip-marked-sentences,
      .sentence-repeat-count {
        display: none;
      }
    }

    .marked-words-section {
      margin-top: 30px;
      padding: 20px;

      h3 {
        font-size: 1.2rem;
      }
    }
  }
}
:deep(.el-input-number__decrease) {
  background-color: #13ce66;
}
:deep(.el-input-number__increase) {
  background-color: #13ce66;
}
:deep(.el-input__wrapper) {
  box-shadow: 0 1px 0 1px #13ce66, #13ce66 inset;
}
:fullscreen {
  .study-controls {
    position: sticky;
    top: 0;
  }
}
